package com.ruoyi.shop.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家管理对象 merchant
 * 
 * @author cwc
 * @date 2024-12-13
 */
public class Merchant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long merchantId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String merchantName;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String merchantEmail;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String merchantPhone;

    /** 状态 */
    @Excel(name = "状态")
    private Long merchantStatus;

    /** 商家类型 */
    @Excel(name = "商家类型")
    private Long merchantType;

    /** 注册时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    /** 描述 */
    private String merchantDescripation;

    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }
    public void setMerchantName(String merchantName) 
    {
        this.merchantName = merchantName;
    }

    public String getMerchantName() 
    {
        return merchantName;
    }
    public void setMerchantEmail(String merchantEmail) 
    {
        this.merchantEmail = merchantEmail;
    }

    public String getMerchantEmail() 
    {
        return merchantEmail;
    }
    public void setMerchantPhone(String merchantPhone) 
    {
        this.merchantPhone = merchantPhone;
    }

    public String getMerchantPhone() 
    {
        return merchantPhone;
    }
    public void setMerchantStatus(Long merchantStatus) 
    {
        this.merchantStatus = merchantStatus;
    }

    public Long getMerchantStatus() 
    {
        return merchantStatus;
    }
    public void setMerchantType(Long merchantType) 
    {
        this.merchantType = merchantType;
    }

    public Long getMerchantType() 
    {
        return merchantType;
    }
    public void setRegisterTime(Date registerTime) 
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() 
    {
        return registerTime;
    }
    public void setMerchantDescripation(String merchantDescripation) 
    {
        this.merchantDescripation = merchantDescripation;
    }

    public String getMerchantDescripation() 
    {
        return merchantDescripation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("merchantId", getMerchantId())
            .append("merchantName", getMerchantName())
            .append("merchantEmail", getMerchantEmail())
            .append("merchantPhone", getMerchantPhone())
            .append("merchantStatus", getMerchantStatus())
            .append("merchantType", getMerchantType())
            .append("registerTime", getRegisterTime())
            .append("merchantDescripation", getMerchantDescripation())
            .toString();
    }
}
